package com.yuetong.employee.domain;

import com.yuetong.common.annotation.Excel;
import com.yuetong.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 证件照信息对象 yt_employee_documents
 * 
 * @author  卓晓君
 * @date 2025-04-24
 */
public class YtEmployeeDocuments extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证件信息唯一标识符 */
    private Long documentId;

    /** 关联职工ID */
    @Excel(name = "关联职工ID")
    private Long employeeId;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String documentType;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 附件 */
    @Excel(name = "附件")
    private String documentAttachmentPhotoUrl;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setDocumentId(Long documentId) 
    {
        this.documentId = documentId;
    }

    public Long getDocumentId() 
    {
        return documentId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setDocumentType(String documentType) 
    {
        this.documentType = documentType;
    }

    public String getDocumentType() 
    {
        return documentType;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setDocumentAttachmentPhotoUrl(String documentAttachmentPhotoUrl) 
    {
        this.documentAttachmentPhotoUrl = documentAttachmentPhotoUrl;
    }

    public String getDocumentAttachmentPhotoUrl() 
    {
        return documentAttachmentPhotoUrl;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("documentId", getDocumentId())
            .append("employeeId", getEmployeeId())
            .append("documentType", getDocumentType())
            .append("number", getNumber())
            .append("documentAttachmentPhotoUrl", getDocumentAttachmentPhotoUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
